
<template>
    <div>{{lineDate}}</div>
</template>
<script setup>
import {onMounted, ref, watch} from 'vue'
const props = defineProps({ scope: {
  default: ''
} })
const lineDate = ref('')

watch(() => { return props.scope.lineDate }, () => {
  // 数据变化之后的回调函数
  lineDate.value = props.scope.lineDate? props.scope.lineDate : '-'
}, { immediate: true, deep: false })

onMounted(() => {
})
</script>

<style></style>
